$controls/header()$
$controls/navigation()$
<table cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="180" valign="top">$controls/drawer()$ </td>
<td width="5"></td>
<td valign="top"><form action="favourite.aspx" method="POST" name="FavouriteForm" id="FavouriteForm">
$controls/tableheader(
  Caption=Caption,
  ElementId="favourite"
  )$
  $if(ShowTopic)$
<table cellspacing="0" class="inner">
<tr class="category forumtd" style="text-align:center">
<td width="50" align="left"><input type="checkbox" class="smallbox" name="checkall" onClick="checkallbox(this)" />删</td>
<td width="300" align="center">标题</td>
<td width="124">作者</td>
<td width="60" align="center">回/阅</td>
<td width="200">最后回复</td>
<td width="150">收藏时间</td>
</tr>
$Topics:{t|
<tr align="center" class="forumtd">
<td align="left"><input type="checkbox" class="smallbox" name="ids" value="$t.Id$" /></td>
<td align="left"><a href="{url:topic.aspx?topicid=$t.TopicId$}">$t.Title$</a></td>
<td><a href="{url:profile.aspx?uid=$t.AuthorId$}">$t.AuthorName$</a></td>
<td class="small" align="center">$t.Replies$/$t.Views$</td>
<td align="right"> $if(t.HasLastReply)$ <a href="{url:profile.aspx?uid=$t.LastReplyUID$}">$t.LastReplyAuthor$</a> $else$
        ------
        $endif$
        &nbsp;&rsaquo;&rsaquo;&nbsp;<span class="small t1">$t.LastReplyTime$</span></td>
<td class="small">$t.AddTime$</td>
</tr>
}$
</table>
$endif$
  
  $if(ShowBoard)$
<table cellspacing="0" class="inner">
<tr class="category forumtd" style="text-align:center">
<td width="60" align="left"><input type="checkbox" class="smallbox" name="checkall2" onClick="checkallbox(this)" />
?删</td>
<td width="200" align="left">版面名称</td>
<td width="300" align="left">最后发表主题</td>
<td width="200">最后发表作者/时间</td>
<td width="60">主题</td>
<td width="60">回复</td>
<td width="150">收藏时间</td>
</tr>
$Boards:{b|
<tr align="center" class="forumtd">
<td align="left"><input type="checkbox" class="smallbox" name="ids" value="$b.Id$" /></td>
<td align="left"><a href="{url:board.aspx?boardid=$b.BoardId$}">$b.BoardName$</a></td>
<td align="left"> $if(b.HasLastTopic)$ <a href="{url:topic.aspx?topicid=$b.LastTopicId$}">$b.LastTopicTitle$</a> $else$
        ------
        $endif$ </td>
<td align="right"> $if(b.HasLastTopic)$ <a href="{url:profile.aspx?uid=$b.LastTopicUID$}">$b.LastTopicAuthor$</a> $else$
        ------
        $endif$
        &nbsp;&rsaquo;&rsaquo;&nbsp;<span class="small">$b.LastTopicTime$</span> </td>
<td class="small">$b.Replies$</td>
<td class="small">$b.Topics$</td>
<td class="small">$b.AddTime$</td>
</tr>
}$
</table>
$endif$
  
  $if(ShowAttach)$
<table cellspacing="0" class="inner">
<tr class="category forumtd" style=" text-align:center">
<td width="60" align="left"><input type="checkbox" class="smallbox" name="checkall2"  onclick="checkallbox(this)"/>
?删</td>
<td align="left">附件名</td>
<td width="100">上传者</td>
<td width="60">附件大小</td>
<td width="60">下载次数</td>
<td width="150">上传时间</td>
<td width="150">收藏时间</td>
</tr>
$Attachs:{a|
<tr align="center" class="forumtd">
<td align="left"><input type="checkbox" class="smallbox" name="ids" value="$a.Id$" /></td>
<td align="left">$if(a.AttachDeleted)$ --- 该附件已经被删除 ---$else$<a href="{url:download.aspx?id=$a.AttachId$}">$a.AttachName$</a>$endif$</td>
<td> $if(a.AttachDeleted)$------$else$<a href="{url:profile.aspx?uid=$a.UID$}">$a.Username$</a>$endif$</td>
<td class="small">$if(a.AttachDeleted)$---$else$$a.AttachSize$$endif$</td>
<td class="small">$if(a.AttachDeleted)$---$else$$a.Downloads$$endif$</td>
<td class="small">$if(a.AttachDeleted)$---$else$$a.UploadTime$$endif$</td>
<td>$a.AddTime$</td>
</tr>
}$
</table>
$endif$
  
  $controls/tablefooter()$
  $Pager$
<input name="submit" type="submit" class="button" value=" 更 新 " />
</form></td>
</tr>
</table>
$controls/footer()$